package Tset4;

public class PM extends Employee {
        private String yearsOfExperience;

    public PM() {
        }
    public PM(String name, String address, String telPhone, String email, String office, double salary, String hireDate, String yearsOfExperience) {
            super(name, address, telPhone, email, office, salary, hireDate);
            this.yearsOfExperience = yearsOfExperience;
        }

        public String getYearsOfExperience() {
            return yearsOfExperience;
        }
        public void setYearsOfExperience(String yearsOfExperience) {
            this.yearsOfExperience = yearsOfExperience;
        }
}
